/**
 * 
 */
package com.demo.test.rpc.api.impl;

import java.util.Map;

import com.alibaba.dubbo.config.annotation.Service;
import com.alibaba.fastjson.JSONObject;
import com.bluering.inf.entity.RespEntity;
import com.demo.test.rpc.api.IPay;
import com.demo.test.rpc.sysconst.PayChannelConst;

/**
 * @author CaoHenghui
 *
 */
@Service(version=PayChannelConst.T_PAY_CHANNEL_CODE_10004)
public class WxPayImpl implements IPay {

	/* (non-Javadoc)
	 * @see com.demo.test.api.IPay#pay(com.alibaba.fastjson.JSONObject, java.lang.String)
	 */
	@Override
	public RespEntity<JSONObject> pay(Map<String,Object> data, String payChannel) {
		JSONObject json = new JSONObject();
		json.put("message", "return from weixin pay");
		return new RespEntity<JSONObject>("1000","OK",json);
	}

}
